<template>
  <aside class="zui-aside" :style="{ width }">
    <slot></slot>
  </aside>
</template>

<script>
export default {
  name: 'z-aside',

  props: {
    width: {
      type: String,
      default: '25vw'
    }
  }
}
</script>

<style lang="less">
.zui-aside {
  position: relative;
  display: block;
  overflow: auto;
  box-sizing: border-box;
  flex: none;
}
</style>
